package _7QiaoJie;

import _7QiaoJie.impl.RedCircle;
import _7QiaoJie.impl.YellowCircle;
import _7QiaoJie.sub.Circle;

/**
 * @Test: 桥接模式 测试
 * @author: ZBoHang
 * @time: 2021/9/7 14:57
 */
class Test {
    public static void main(String[] args) {
        Circle redCircle = new Circle(new RedCircle(), 10, 12, 14);
        Circle yellowCircle = new Circle(new YellowCircle(), 11, 13, 15);

        redCircle.draw();
        yellowCircle.draw();
    }
}
